﻿using Microsoft.Extensions.Options;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;

namespace Mrc.SqlSurging
{
    public class SqlSurgarClientService : ISqlSurgarClientService
    {       
        public SqlSurgarClientService()
        { 
            
        }

        public SqlSugarClient Client(string key="app") => new SqlSugarClient(ConnectionConfigManager.Get(key));

        public void Dispose()
        {
            
        }
    }
}
